package com.dingyh.shopwebbackground.mapper;

import com.dingyh.shopwebbackground.entity.Conversation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dingyuhan
 * @since 2023-03-07
 */
@Mapper
public interface ConversationMapper extends BaseMapper<Conversation> {
    List<Conversation> getUserListID(String saleId);
    List<Conversation> getSaleListID(String userId);
    List<Conversation> getNotRead(String saleId,String userId);
    List<Conversation> getTalkingByUserID(String saleId,String userId);
}
